package com.github.interview.http;

/**
 * @author Stephen
 * @date 2020/6/15 15:19
 */
public enum ExceptionEnum {
    MISSING_PARAMS(430, "Missing Parameters"),
    NOT_EXISTED(431, "Not Existed"),
    ALREADY_EXISTED(432, "Already Existed");

    private int statue;
    private String message;

    public int getStatue() {
        return statue;
    }

    public void setStatue(int statue) {
        this.statue = statue;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ExceptionEnum(int statue, String message) {
        this.statue = statue;
        this.message = message;
    }
}
